package main;

import java.util.ArrayList;

/**
 * Target Upd
 * ----------------------
 * 
 * 
 * @author MAdriana
 */

public class TargetUpd
{
	String position;
	String refCount;
	String duplic;
	String delete;
	String confirm;
	String newInsertion;
	String newPos;
	ArrayList<String> values;
	
	public TargetUpd()
	{
		  position = "";
		  refCount = "";
		  duplic = "";
		  delete = "";
		  confirm = "";
		  newInsertion = "";
		  newPos = "";
		  values = new ArrayList<String>();
	}
	
	
	public TargetUpd(String p, String rc, String dup, String del, String conf,
	                 String nins, String npos, ArrayList<String> al)
	{
		  position = p;
		  refCount = rc;
		  duplic = dup;
		  delete = del;
		  confirm = conf;
		  newInsertion = nins;
		  newPos = npos;
		  values = al;
	}
			
	public String getPosition()
	{
		return position;
	}
	
	public void setPosition(String arg)
	{
		position=arg;
	}
	
	public String getRefCount()
	{
		return refCount;
	}
	
	public void setRefCount(String arg)
	{
		refCount=arg;
	}
	
	public String getDuplic()
	{
		return duplic;
	}
	
	public void setDuplic(String arg)
	{
		duplic=arg;
	}
	
	public String getDelete()
	{
		return delete;
	}
	
	public void setDelete(String arg)
	{
		delete=arg;
	}
	
	public String getConfirm()
	{
		return confirm;
	}
	
	public void setConfirm(String arg)
	{
		confirm=arg;
	}
	
	public String getNewInsertion()
	{
		return newInsertion;
	}
	
	public void setNewInsertion(String arg)
	{
		newInsertion = arg;
	}
	
	public String getNewPos()
	{
		return newPos;
	}
	
	public void setNewPos(String arg)
	{
		newPos=arg;
	}
		
	public ArrayList<String> getValues()
	{
		return values;
	}
	
	public void setValues(ArrayList<String> arg)
	{
		values = arg;
	}
	
	public String toString()
	{
		String str = new String();
		str = "Target pos: "+position;
		str += " refCount: "+refCount;
		str += " duplicat: "+duplic;
		str += " confirm: "+confirm;
		str += " newIns: "+newInsertion;
		str += " newPos: "+newPos;
		str += " values: "+ values.toString();
		return str;
	}
}

